import org.hibernate.Session;

import com.sistema.util.HibernateUtil;

public class Main {

	public static void main(String[] args) {

		Session session = null;
		try {
			session = new HibernateUtil().getSession().openSession();
			System.out.println("Conectou !!");
		} finally {
			session.close();

		}

	}
}
